package com.doremi.util;

public class Track {

	private String name;
	private String path;
	private String artist;
	int trackId;
	
	public Track(String name,String path,int trackId){
		this.name = name;
		this.path = path;
		this.trackId = trackId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public int getTrackId() {
		return trackId;
	}

	public void setTrackId(int trackId) {
		this.trackId = trackId;
	}

	@Override
	public boolean equals(Object o) {
		if (this.getTrackId() == ((Track)o).getTrackId()){
			return true;
		}
		return false;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getArtist() {
		return artist;
	}	
}